package api

import (
	"gitee.com/chuanjinge/gopkgserv/api/controller"

	"github.com/gin-gonic/gin"
)

func RegisterLoginRoutes(r *gin.Engine) {
	loginController := &controller.LoginController{}
	r.POST("/login/login", loginController.Login)
	r.POST("/login/checktoken", loginController.CheckToken)

}
